﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 单一职责原则
{
    public interface IHangUp
    {
        public void HangUpPhoneNum(string phoneNum);
       
    }
    public class HangUp: IHangUp
    {
        public void HangUpPhoneNum(string phoneNum)
        {
            Console.WriteLine($"挂断{phoneNum}打电话");
        }
    }
}
